public class Order {
        private String name;
        private String dishMeg;
        private int time;
        private String address;
        private int state;
        private double totalPrice;

        public Order(String name,String dishMeg,int time,String address,
                     int state,double totalPrice)
        {
            this.name=name;
            this.dishMeg=dishMeg;
            this.time=time;
            this.address=address;
            this.state=state;
            this.totalPrice=totalPrice;
        }

        public String getName()
        {
            return name;
        }
        public void setName(String name)
        {
            this.name=name;
        }
        public String getDishMeg()
        {
            return dishMeg;
        }
        public void setDishMeg(String dishMeg)
        {
            this.dishMeg=dishMeg;
        }
        public int getTime()
        {
            return time;
        }
        public void setTime(int time)
        {
            this.time=time;
        }
        public String getAddress()
        {
            return address;
        }
        public void setAddress(String address)
        {
            this.address=address;
        }
        public int getState()
        {
            return state;
        }
        public void setState(int state)
        {
            this.state=state;
        }
        public double getTotalPrice()
        {
            return totalPrice;
        }
        public void setTotalPrice(double totalPrice)
        {
            this.totalPrice=totalPrice;
        }
}
